package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingBomEntity;

/**
 * BOM清单Mapper接口
 *
 * @author wutao
 * @date 2024-07-26
 */
public interface KingBomMapper extends BaseMapper<KingBomEntity> {
    /**
     * 查询BOM清单
     *
     * @param id BOM清单ID
     * @return BOM清单
     */
    KingBomEntity selectKingBomEntityById ( String id );

    /**
     * 查询BOM清单列表
     *
     * @param kingBomEntity BOM清单
     * @return BOM清单集合
     */
    List<KingBomEntity> selectKingBomEntityList ( KingBomEntity kingBomEntity );

    Integer queryCount ( KingBomEntity kingBomEntity );

    /**
     * 新增BOM清单
     *
     * @param kingBomEntity BOM清单
     * @return 结果
     */
    int insertKingBomEntity ( KingBomEntity kingBomEntity );

    /**
     * 修改BOM清单
     *
     * @param kingBomEntity BOM清单
     * @return 结果
     */
    int updateKingBomEntity ( KingBomEntity kingBomEntity );

    /**
     * 删除BOM清单
     *
     * @param id BOM清单ID
     * @return 结果
     */
    int deleteKingBomEntityById ( String id );

    /**
     * 批量删除BOM清单
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteKingBomEntityByIds ( String[] ids );

}
